﻿using System;
using System.Collections.Generic;
using System.Web;

namespace KioskViewerBLL.BLLObjects
{
    /// <summary>
    /// Summary description for Category
    /// </summary>
    [Serializable]
    public class CategoryObj
    {
        private int         _category_id;
        private string      _category;
        private int         _sort;
        private bool        _is_active;
        private string      _image_url;
        private string      _video_url;
        private string      _flash_label;
        private string      _goto_url;

        public CategoryObj()
        {
        }

        public CategoryObj(
            int category_id,
            string category,
            int sort,
            bool is_active,
            string image_url,
            string video_url,
            string flash_label,
            string goto_url
            )
        {
            _category_id = category_id;
            _category = category;
            _sort = sort;
            _is_active = is_active;
            _image_url = image_url;
            _video_url = video_url;
            _flash_label = flash_label;
            _goto_url = goto_url;                
        }

        public int Category_id
        {
            set { _category_id = value; }
            get { return _category_id; }
        }

        public String Category
        {
            set { _category = value; }
            get { return _category; }
        }

        public int Sort
        {
            set { _sort = value; }
            get { return _sort; }
        }

        public bool Is_active
        {
            set { _is_active = value; }
            get { return _is_active; }
        }

        public string Image_url
        {
            set { _image_url = value; }
            get { return _image_url; }
        }

        public string Video_url
        {
            set { _video_url = value; }
            get { return _video_url; }
        }

        public string Flash_label
        {
            set { _flash_label = value; }
            get { return _flash_label; }
        }

        public string Goto_url
        {
            set { _goto_url = value; }
            get { return _goto_url; }
        }
    }
}